From: Florian Müllner Date: Thu, 2 Feb 2023 13:55:37 +0000 (+0100) Subject: shell/window-preview-layout: Mark return value as nullable X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~405^2^2~122 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1993f362d2ba1daf1814e51d120759df906faf22;p=gnome-shell.git shell/window-preview-layout: Mark return value as nullable The function may return null, so we should mark it as such, even if that information is currently unused. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6351 Part-of: --- diff --git a/src/shell-window-preview-layout.c b/src/shell-window-preview-layout.c index 062726409..9cf6633b1 100644 --- a/src/shell-window-preview-layout.c +++ b/src/shell-window-preview-layout.c @@ -354,7 +354,7 @@ shell_window_preview_layout_class_init (ShellWindowPreviewLayoutClass *klass) * to the container. If @window is already part of the preview, this * function will do nothing. * - * Returns: (transfer none): The newly created actor drawing @window + * Returns: (nullable) (transfer none): The newly created actor drawing @window */ ClutterActor * shell_window_preview_layout_add_window (ShellWindowPreviewLayout *self,